Skip to content

Conversation

@Godmartinz
Copy link
Member

@Godmartinz Godmartinz commented Nov 5, 2025

if an undeployable status type is selected, we double down on the warning that no changes will be applied to the status of the selected items.

image Image Improves: #17685

@Godmartinz Godmartinz requested a review from snipe as a code owner November 5, 2025 19:22
@Godmartinz Godmartinz linked an issue Nov 5, 2025 that may be closed by this pull request
@Godmartinz Godmartinz changed the title Adds better warning for bulk status change to undeployable type Adds #17685 better warning for bulk status change to undeployable type Nov 6, 2025
@snipe
Copy link
Member

snipe commented Nov 10, 2025

This seems like a weird solution tho. "That asset" when you're referring to something done in bulk seems confusing and potentially misleading.

@Godmartinz
Copy link
Member Author

Translation and image in description has been updated 👍

Copy link
Member

@snipe snipe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small ask

$("#assignto_selector").hide();
$("#selected_status_status").removeClass('text-success');
$("#selected_status_status").addClass('text-danger');
$("#selected_status_status").html('<x-icon type="warning" /> {{ trans_choice('admin/hardware/form.asset_not_deployable_checkin', 2) }} ');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will cause a syntax error if the translation contains an apostrophe - probably want to use double-quotes here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bulk Edit - status changes/automatic checkin not working

2 participants